package com.ty.day2;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/15 14:42
 */
public class Police extends People{
    String id;
    String gunID;
    public void findPrisoner(){
        System.out.println("找犯人");
    }
    public void makeIDCard(){
        System.out.println("制作身份证");
    }

    @Override
    public void eat() {
        System.out.println("我是警察，我吃能量餐");
    }

    @Override
    public void study() {
        System.out.println("我是警察，我学法律");
    }
}
